package com.haust.leyou;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;

/**
 * @Auther: csp1999
 * @Date: 2020/11/23/18:23
 * @Description: zull路由网关服务启动类
 */
@SpringBootApplication
@EnableDiscoveryClient // 服务发现~
@EnableZuulProxy // zull 路由网关开启
public class LeyouGatewayApplication {

    public static void main(String[] args) {
        SpringApplication.run(LeyouGatewayApplication.class);
    }
}
